/**
 * 前端常量 枚举工具
 * https://gitee.com/lab1024/vue-enum?_from=gitee_search
 * */

let enumInfo = {
    selection: [
        {value: 'manual', desc: {name: '手动',type: 'info'}},
        {value: 'auto', desc: {name: '自动',type: ''}},
    ],
    status: [
        {value: 0, desc: {name: '禁用',type: 'danger'}},
        {value: 1, desc: {name: '启用',type: ''}},
    ],
    cartype: [
        {value: 100, desc: {name: '行人',type: ''}},
        {value: 101, desc: {name: '自行车',type: ''}},
        {value: 102, desc: {name: '小汽车',type: ''}},
        {value: 103, desc: {name: '小客车',type: ''}},
        {value: 104, desc: {name: '中型客车',type: ''}},
        {value: 105, desc: {name: '大型客车',type: ''}},
        {value: 106, desc: {name: '小卡车',type: ''}},
        {value: 107, desc: {name: '中型卡车',type: ''}},
        {value: 108, desc: {name: '大型卡车',type: ''}},
    ],
    is_fault: [
        {value: 0, desc: {name: '否',type: ''}},
        {value: 1, desc: {name: '是',type: ''}},
    ]
}

export default enumInfo
